tests: Add pthread based concurrency stress test for babl_fish()
authorMartin Nordholts <martinn@src.gnome.org>
Thu, 19 Nov 2009 18:59:10 +0000 (19:59 +0100)
committerMartin Nordholts <martinn@src.gnome.org>
Thu, 19 Nov 2009 19:25:53 +0000 (20:25 +0100)
commit539bfd1487015c50f5ab90f4bcc48ee0a2363039
treea168b9dde0ab37413c0f54d4428e0ed9971ef22f
parentb6aa1794754ee32fb2e3412528a8f6eb96596042
tests: Add pthread based concurrency stress test for babl_fish()

Add a test that runs a bunch of pthread threads, all trying to use
babl_fish() at the same time. This test currently fails and it is the
goal of bug 587675 to make it pass.

The cause of the failure is the static variables in babl-fish-path.c.
In particular 'current_path' clearly needs to be moved to some
instance variable.
tests/.gitignore
tests/Makefile.am
tests/concurrency-stress-test.c [new file with mode: 0644]